package com.gk.panda.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description 大华设备环境监测数据
 * @Author zhangguoqiao
 * @Date 2022/12/13 02:16 
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("device_env_monitor")
public class DeviceEnvMonitorEntity {


	/**
	 * 环境监测主键
	 */
    @TableId(value = "monitor_id", type = IdType.AUTO)
	private Integer monitorId;

	/**
	 * 机构id
	 */
	@TableField(value = "org_id")
	private Integer orgId;

	/**
	 * 机构名称
	 */
	@TableField(value = "org_name")
	private String orgName;

	/**
	 * 设备id
	 */
	@TableField(value = "device_id")
	private Integer deviceId;

	/**
	 * 设备编号
	 */
	@TableField(value = "device_num")
	private String deviceNum;

	/**
	 * 设备名称
	 */
	@TableField(value = "device_name")
	private String deviceName;

	/**
	 * 设备位置
	 */
	@TableField(value = "address")
	private String address;

	/**
	 * 天气
	 */
	@TableField(value = "weather")
	private String weather;

	/**
	 * 风力
	 */
	@TableField(value = "wind_force")
	private String windForce;

	/**
	 * 经度
	 */
	@TableField(value = "lot")
	private String lot;

	/**
	 * 纬度
	 */
	@TableField(value = "lat")
	private String lat;

	/**
	 * 空气温度
	 */
	@TableField(value = "temperature")
	private String temperature;

	/**
	 * 空气湿度
	 */
	@TableField(value = "humidity")
	private String humidity;

	/**
	 * 噪声
	 */
	@TableField(value = "noise")
	private String noise;

	/**
	 * 气压
	 */
	@TableField(value = "pressure")
	private String pressure;

	/**
	 * 光照度
	 */
	@TableField(value = "illumination")
	private String illumination;

	/**
	 * 负氧离子
	 */
	@TableField(value = "ion")
	private String ion;

	/**
	 * 风速
	 */
	@TableField(value = "wind_speed")
	private String windSpeed;

	/**
	 * 风向
	 */
	@TableField(value = "wind_direction")
	private String windDirection;

	/**
	 * pm25
	 */
	@TableField(value = "pm25")
	private String pm25;

	/**
	 * pm10
	 */
	@TableField(value = "pm10")
	private String pm10;

	/**
	 * 监测时间(2022-12-13 00)
	 */
	@TableField(value = "monitor_time")
	private String monitorTime;

    /**
     * 创建人
     */
    @TableField("create_name")
    private String createName;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField("update_name")
    private String updateName;

    /**
     * 更新时间
     */
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 删除标识
     */
    @TableField("del_flag")
    private Integer delFlag;
}
